home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _77009DDD291C40559B279624FAA48B61 < prev    next >
Encoding:
Text File  |  2004-01-06  |  2.5 KB  |  85 lines

  1.  
  2. Script:LoadScript("scripts/materials/commoneffects.lua");
  3.  
  4. Materials["mat_grass_tall"] = {
  5.     type="grass_tall",
  6. -------------------------------------    
  7.     PhysicsSounds=PhysicsSoundsTable.Soft,
  8. -------------------------------------
  9.     projectile_hit = CommonEffects.common_projectile_hit,
  10.     mortar_hit = CommonEffects.common_mortar_hit,
  11.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  12.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  13.     grenade_hit = CommonEffects.common_grenade_hit,
  14.  
  15.     bullet_hit = {
  16.         sounds = {
  17.             {"Sounds/Bullethits/bleaves1.wav",SOUND_UNSCALABLE,200,5,60},
  18.             {"Sounds/Bullethits/bleaves2.wav",SOUND_UNSCALABLE,200,5,60},
  19.             {"Sounds/Bullethits/bleaves3.wav",SOUND_UNSCALABLE,200,5,60},
  20.             {"Sounds/Bullethits/bleaves4.wav",SOUND_UNSCALABLE,200,5,60},
  21.             
  22.             
  23.         },
  24.         
  25.         decal = { 
  26.             texture = System:LoadTexture("Textures/Decal/Default.tga"),
  27.             scale = 0.1,
  28.         },
  29.         
  30.         particleEffects = {
  31.             name = "bullet.hit_leaf.a",
  32.         },
  33.         
  34.     },
  35.  
  36.     mortar_hit = CommonEffects.common_mortar_hit,
  37.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  38.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  39.     melee_slash = {
  40.         sounds = {
  41.             --{"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  42.             --{"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  43.             --{"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  44.             --{"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  45.         },
  46.     },
  47. -------------------------------------
  48.     player_walk = CommonEffects.player_grass_walk,
  49.     player_run = CommonEffects.player_grass_run,
  50.     player_crouch = CommonEffects.player_grass_crouch,
  51.     player_prone = CommonEffects.player_grass_prone,
  52.     player_walk_inwater = CommonEffects.player_walk_inwater,
  53.     
  54.     player_drop = {
  55.         sounds = {
  56.             {"sounds/player/bodyfalls/bodyfallgrass1.wav",SOUND_UNSCALABLE,210,10,150},
  57.             {"sounds/player/bodyfalls/bodyfallgrass2.wav",SOUND_UNSCALABLE,210,10,150},
  58.         },
  59. --        decal = { 
  60. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  61. --            scale = 0.1,
  62. --        },
  63.     },
  64. -------------------------------------
  65.     player_land = {
  66.         sounds = {
  67.             --sound , volume , {min, max}
  68.             --NOTE volume and min max are optional
  69.              {"sounds/doors/dooropen.wav"},
  70.              {"sounds/doors/dooropen.wav"},
  71.             
  72.         },
  73.     },
  74.     gameplay_physic = {
  75.         piercing_resistence = 15,
  76.         friction = 0.6,
  77.         bouncyness= -2, -- default 0
  78.         no_collide=1,
  79.     },
  80.  
  81.     AI = {
  82.         fImpactRadius = 5,
  83.     },
  84.             
  85. }